package basic.Test;

public class innerclass {
	public static void main(String[] args) {
		// 初始化Bean1
		innerclass i1 = new innerclass();
		innerclass.Bean1 bean1 = i1.new Bean1();
		bean1.I++;
		// 初始化Bean2
		innerclass.Bean2 bean2 = new innerclass.Bean2();
		bean2.J++;
	}

	class Bean1 {
		public int I = 0;
	}

	static class Bean2 {
		public int J = 0;
	}

}
